package org.jeecg.modules.water.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.water.entity.LwgyJointWater;
import org.jeecg.modules.water.entity.LwgyJointWaterCmd;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.jeecg.modules.water.entity.LwgyJointWaterCmd;

/**
 * @Description: 阀控记录
 * @Author: jeecg-boot
 * @Date:   2024-04-02
 * @Version: V1.0
 */
public interface LwgyJointWaterCmdMapper extends BaseMapper<LwgyJointWaterCmd> {

	public boolean deleteByMainId(@Param("mainId") String mainId);

	public List<LwgyJointWaterCmd> selectByMainId(@Param("mainId") String mainId);

	List<LwgyJointWaterCmd> queryJointWaterCmdList(Page<LwgyJointWaterCmd> page, @Param(Constants.WRAPPER) QueryWrapper<LwgyJointWaterCmd> queryWrapper);

}
